package com.chushouya.order.dto.api.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("用户取消订单")
public class UserOrderCancelDTO {
    @ApiModelProperty(value = "订单号", required = true)
    @NotNull(message = "订单号不能为空")
    private String orderNo;

    @ApiModelProperty(value = "取消原因", required = false)
    private String remark;
}
